package org.hqs.doctor.mapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.hqs.doctor.pojo.Doctor;

import java.util.List;

public interface DoctorMapper {
    Doctor findById(Long id);

    List<Doctor> findAllDoctors();

    int insertDoctor(Doctor doctor);

    int updateDoctor(Doctor doctor);

    int deleteDoctor(Long id);
}
